/*
 * @Author: yangni 920556271@qq.com
 * @Date: 2023-10-31 17:21:02
 * @LastEditors: yangni 920556271@qq.com
 * @LastEditTime: 2024-04-10 09:47:30
 * @FilePath: /yt-devops/lib/pages/tabs/device_tab/device_tab_binding.dart
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import 'package:get/get.dart';
import 'package:yt_devops/pages/alarm/alarm_home/alarm_home_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/basic_info/basic_info/basic_info_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/air_condition_detail/air_condition_detail_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/battery_pack_detail/battery_pack_detail_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/business_electricity_storage_device_detail/business_electricity_storage_device_detail_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/common_detail/common_detail_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/electricity_meter_detail/electricity_meter_detail_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/ems/self_develop_ems_detail/self_develop_ems_detail_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/fire_fighting/air_cool_fire_detail/air_cool_fire_detail_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/new_air_cooling_page/new_air_cooling_page_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/pcs_detail/pcs_detail_controller.dart';
import 'package:yt_devops/pages/devices/device_tab/device_detail/pv_inverter_detail/pv_inverter_detail_controller.dart';
import 'package:yt_devops/services/task/task_services.dart';
import '../../devices/device_tab/device_detail/ems/ems_detail/ems_detail_controller.dart';
import 'device_tab_controller.dart';

class DeviceTabBinding extends Bindings {
  final String tagName;

  DeviceTabBinding({required this.tagName});

  @override
  void dependencies() {
    Get.lazyPut<DeviceTabController>(() => DeviceTabController(), tag: tagName);

    Get.lazyPut<BasicInfoController>(() => BasicInfoController());
    Get.lazyPut<BusinessElectricityStorageDeviceDetailController>(
        () => BusinessElectricityStorageDeviceDetailController());

    Get.lazyPut<EmsDetailController>(() => EmsDetailController());
    Get.lazyPut<ElectricityMeterDetailController>(
        () => ElectricityMeterDetailController());
    Get.lazyPut<BatteryPackDetailController>(
        () => BatteryPackDetailController());
    Get.lazyPut<CommonDetailController>(() => CommonDetailController());
    Get.lazyPut<AlarmHomeController>(() => AlarmHomeController());

    Get.lazyPut<TaskServices>(() => TaskServices());
  }
}
